<template>
    <div class="list-container">
        <NavCard></NavCard>
        <BreadCrumb class="bread-crumb" />
        <h2 class="title">{{ $route.meta.title }}</h2>
        <div class="detail">
            <router-view/>
        </div>
    </div>
</template>
<script>
import NavCard from '@/views/maintenance/components/nav-card.vue'
import BreadCrumb from '@/components/bread-crumb/index.vue'

export default {
    name: 'PreWarningStatistics',
    components: {
        NavCard,
        BreadCrumb,
    },
    data() {
        return {}
    },
}
</script>
<style lang="scss" scoped>
.list-container {
    margin-top: 17px;
    height: calc(100% - 17px);
    display: flex;
    flex-direction: column;
    background-color: #F7F8FD;

    .title {
        font-size: 26px;
        color: #4B4B4B;
        font-weight: bold;
        margin: 0;
        margin-top: 18px;
        padding-left: 20px;
    }
}

.bread-crumb {
    margin-top: 21px;
    padding-left: 20px;
}

.detail {
    margin-top: 9px;
    margin-left: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    max-height: calc(100% - 9px);
   
}
</style>
